package com.donaghymo.liteflow.editor.storage.struct;
import com.donaghymo.liteflow.editor.storage.entity.LfNode;
import com.donaghymo.liteflow.editor.storage.dto.LfNodeDTO;
import com.donaghymo.liteflow.editor.storage.param.LfNodeParam;
import com.donaghymo.liteflow.editor.storage.vo.LfNodeVO;
import org.mapstruct.Mapper;

/**
 * LiteFlow 节点表(LfNode)实体转换
 *
 * @author makejava
 * @since 2025-08-13 15:46:14
 */
@Mapper(componentModel = "spring")
public interface LfNodeStruct {

    LfNodeDTO entityToDto(LfNode param);

    LfNodeVO entityToVo(LfNode param);

    LfNode paramToEntity(LfNodeParam param);

    LfNodeDTO paramToDto(LfNodeParam param);

    LfNode dtoToEntity(LfNodeDTO param);

    LfNodeVO dtoToVo(LfNodeDTO param);

}
